package ui;

import com.jme3.app.state.AbstractAppState;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.screen.ScreenController;

public class HudScreenController extends AbstractAppState implements ScreenController {
    private Nifty nifty;
    private Screen screen;

    public void bind(Nifty nifty, Screen screen) {
        this.nifty = nifty;
        this.screen = screen;
    }

    public void onStartScreen() {
        setEnabled(true);
    }

    public void onEndScreen() {
        setEnabled(false);
    }

    @Override
    public void update(float tpf) { 
        /** jME update loop! */ 
    }
}
